package com.sugon.modules.sys.model.dto;

import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @Author YuXD
 * @Version 1.0
 * @since 2022/4/13
 */
@NoArgsConstructor
@Data
public class NoticeModel implements Serializable {

    /**
     * 收信人员工号,用[,]分隔
     */
    private String userLoginIds;

    /**
     * 消息源,如来自于[iChanan]的消息
     */
    private String title;

    /**
     * 发送APP消息,内容最大500字
     */
    private String content;

    /**
     * 消息发送人的员工号
     */
    private String sendByLoginId;

    public NoticeModel(String userLoginIds, String sendByLoginId, String title, String content) {
        this.userLoginIds = userLoginIds;
        this.title = title;
        this.content = content;
        this.sendByLoginId = sendByLoginId;
    }
}
